<div class="input-group col-xs-12">
    <span ng-if="to.lBtn" class="input-group-btn">
        <button class="btn btn-default"
                ng-click="options.templateOptions.lBtn['onClick'](model[options.key], options, this, $event ,model);"
                type="button">{{to.lBtn.label}}<i class="glyphicon {{to.lBtn.icon}}"></i></button>
    </span>
    <span ng-if="to.lAddon" class="input-group-addon">{{to.lAddon}}</span>
    <input class="form-control" type="number" min="{{to.min}}" max="{{to.max}}" ng-required="{{to.required}}" ng-minlength="{{to.minlength}}" ng-maxlength="{{to.maxlength}}" ng-model="model[options.key]">
    <span ng-if="to.rAddon" class="input-group-addon">{{to.rAddon}}</span>
    <span ng-if="to.rBtn" class="input-group-btn">
        <button class="btn btn-default"
                ng-click="options.templateOptions.rBtn['onClick'](model[options.key], options, this, $event ,model);"
                type="button">{{to.rBtn.label}}<i class="glyphicon {{to.rBtn.icon}}"></i></button>
    </span>
</div>